home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / pine / osdep / header < prev    next >
Text File  |  1996-03-15  |  5KB  |  113 lines

  1. /*----------------------------------------------------------------------
  2.  
  3.             T H E    P I N E    M A I L   S Y S T E M
  4.  
  5.    Laurence Lundblade and Mike Seibel
  6.    Networks and Distributed Computing
  7.    Computing and Communications
  8.    University of Washington
  9.    Administration Builiding, AG-44
  10.    Seattle, Washington, 98195, USA
  11.    Internet: lgl@CAC.Washington.EDU
  12.              mikes@CAC.Washington.EDU
  13.  
  14.    Please address all bugs and comments to "pine-bugs@cac.washington.edu"
  15.  
  16.  
  17.    Pine and Pico are registered trademarks of the University of Washington.
  18.    No commercial use of these trademarks may be made without prior written
  19.    permission of the University of Washington.
  20.  
  21.    Pine, Pico, and Pilot software and its included text are Copyright
  22.    1989-1996 by the University of Washington.
  23.  
  24.    The full text of our legal notices is contained in the file called
  25.    CPYRIGHT, included with this distribution.
  26.  
  27.  
  28.    Pine is in part based on The Elm Mail System:
  29.     ***********************************************************************
  30.     *  The Elm Mail System  -  Revision: 2.13                             *
  31.     *                                                                     *
  32.     *             Copyright (c) 1986, 1987 Dave Taylor              *
  33.     *             Copyright (c) 1988, 1989 USENET Community Trust   *
  34.     ***********************************************************************
  35.  
  36.  
  37.   ----------------------------------------------------------------------*/
  38.  
  39. /*======================================================================
  40.  
  41.  This contains most of Pine's interface to the local operating system
  42. and hardware.  Hopefully this file, os-xxx.h and makefile.xxx are the
  43. only ones that have to be modified for most ports.  Signals.c, ttyin.c,
  44. and ttyout.c also have some dependencies.  See the doc/tech-notes for
  45. notes on porting Pine to other platforms.  Here is a list of the functions
  46. required for an implementation:
  47.  
  48.  
  49.   File System Access
  50.      can_access          -- See if a file can be accessed
  51.      name_file_size      -- Return the number of bytes in the file (by name)
  52.      fp_file_size        -- Return the number of bytes in the file (by FILE *)
  53.      name_file_mtime     -- Return the mtime of a file (by name)
  54.      fp_file_mtime       -- Return the mtime of a file (by FILE *)
  55.      file_attrib_copy    -- Copy attributes of one file to another.
  56.      is_writable_dir     -- Check to see if directory exists and is writable
  57.      create_mail_dir     -- Make a directory
  58.      rename_file         -- change name of a file
  59.      build_path          -- Put together a file system path
  60.      last_cmpnt          -- Returns pointer to last component of path
  61.      expand_foldername   -- Expand a folder name to full path
  62.      fnexpand            -- Do filename exansion for csh style "~"
  63.      filter_filename     -- Make sure file name hasn't got weird chars
  64.      cntxt_allowed       -- Check whether a pathname is allowed for read/write
  65.      disk_quota          -- Check the user's disk quota
  66.      read_file           -- Read whole file into memory (for small files)
  67.      create_tmpfile      -- Just like ANSI C tmpfile function
  68.      temp_nam            -- Almost like common tempnam function
  69.      fget_pos,fset_pos   -- Just like ANSI C fgetpos, fsetpos functions
  70.  
  71.   Abort
  72.      coredump            -- Abort running Pine dumping core if possible
  73.  
  74.   System Name and Domain
  75.      hostname            -- Figure out the system's host name, only
  76.                               used internally in this file.
  77.      getdomainnames      -- Figure out the system's domain name
  78.      canonical_name      -- Returns canonical form of host name
  79.  
  80.   Job Control
  81.      have_job_control    -- Returns 1 if job control exists
  82.      stop_process        -- What to do to stop process when it's time to stop
  83.                   (only used if have_job_control returns 1)
  84.  
  85.   System Error Messages (in case given one is a problem)
  86.      error_description   -- Returns string describing error
  87.  
  88.   System Password and Accounts
  89.      gcos_name           -- Parses full name from system, only used
  90.                   locally in this file so if you don't use it you
  91.                   don't need it
  92.      get_user_info       -- Finds in login name, full name, and homedir
  93.      local_name_lookup   -- Get full name of user on system
  94.      change_passwd       -- Calls system password changer
  95.  
  96.   MIME utilities
  97.      mime_can_display    -- Can we display this type/subtype?
  98.      exec_mailcap_cmd    -- Run the mailcap command to view a type/subtype.
  99.      exec_mailcap_test_cmd -- Run mailcap test= test command.
  100.  
  101.   Other stuff
  102.      srandom             -- Dummy srandom if you don't have this function
  103.      init_debug
  104.      do_debug
  105.      save_debug_on_crash
  106.  
  107.   ====*/
  108.  
  109.  
  110. #include "headers.h"
  111.  
  112.  
  113.